import React, { FC } from 'react';

import { AppStateContext } from './app-state.context';
import { AppState } from './app-state.types';

export const AppStateProvider: FC<{ values: AppState }> = (props) => {
    return (
        <AppStateContext.Provider value={props?.values}>
            <>{props?.children}</>
        </AppStateContext.Provider>
    );
};
